package com.hou.hpsj_springboot.service.Impl;
import com.hou.hpsj_springboot.bean.Message;
import com.hou.hpsj_springboot.mapper.MessageMapper;
import com.hou.hpsj_springboot.service.IMessageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MessageServiceImpl implements IMessageService {
    @Resource
    private MessageMapper messageMapper;


    @Override
    public List<Message> selectAllMessages() {
        return messageMapper.selectAllMessages();
    }


}
